package com.zsr.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsr.example.dto.CourseDto;
import com.zsr.example.entity.TOrder;
import com.zsr.example.vo.OrderReq;
import com.zsr.example.vo.TOrderVo;

import java.util.List;

/**
 * <p>
 * 订单 Mapper 接口
 * </p>
 *
 * @author zsr
 * @since 2021-12-06
 */
public interface TOrderMapper extends BaseMapper<TOrder> {
     List<TOrderVo> orderQueryPage(OrderReq orderReq);

     CourseDto getCourseDtoByType(Integer targetType,String id);
}
